[INFO] cloning repository https://github.com/zoritle/rshim
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zoritle/rshim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzoritle%2Frshim", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzoritle%2Frshim'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7934dde74df8b7ebacf8b58c098a736c7d1113a5
[INFO] building zoritle/rshim against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzoritle%2Frshim" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/zoritle/rshim on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-0/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/zoritle/rshim
[INFO] finished tweaking git repo https://github.com/zoritle/rshim
[INFO] tweaked toml for git repo https://github.com/zoritle/rshim written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/zoritle/rshim already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded fs-err v2.5.0
[INFO] [stderr]   Downloaded unicode-bom v1.1.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3c882e0a408e9db230e0f9ba409ec6cafc90c7858fe77bb62c2b32a845c886a9
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3c882e0a408e9db230e0f9ba409ec6cafc90c7858fe77bb62c2b32a845c886a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3c882e0a408e9db230e0f9ba409ec6cafc90c7858fe77bb62c2b32a845c886a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c882e0a408e9db230e0f9ba409ec6cafc90c7858fe77bb62c2b32a845c886a9", kill_on_drop: false }`
[INFO] [stdout] 3c882e0a408e9db230e0f9ba409ec6cafc90c7858fe77bb62c2b32a845c886a9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d3216556818b868e530fcfad6d0bd3337bb67fe999b0fe97632a269c16e888c5
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d3216556818b868e530fcfad6d0bd3337bb67fe999b0fe97632a269c16e888c5", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling unicode-bom v1.1.4
[INFO] [stderr]    Compiling fs-err v2.5.0
[INFO] [stderr]    Compiling rshim v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     shared::minwindef::{BOOL, DWORD, FALSE, TRUE},
[INFO] [stdout]    |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     um::{
[INFO] [stdout]    |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::um`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     um::{
[INFO] [stdout]    |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SHELLEXECUTEINFOA`
[INFO] [stdout]    --> src/main.rs:120:20
[INFO] [stdout]     |
[INFO] [stdout] 120 |     let mut info = SHELLEXECUTEINFOA::default();
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^ use of undeclared type `SHELLEXECUTEINFOA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/main.rs:25:48
[INFO] [stdout]    |
[INFO] [stdout] 25 | unsafe extern "system" fn routine_handler(evt: DWORD) -> BOOL {
[INFO] [stdout]    |                                                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> src/main.rs:25:58
[INFO] [stdout]    |
[INFO] [stdout] 25 | unsafe extern "system" fn routine_handler(evt: DWORD) -> BOOL {
[INFO] [stdout]    |                                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> src/main.rs:27:33
[INFO] [stdout]    |
[INFO] [stdout] 27 |         wincon::CTRL_C_EVENT => TRUE,        //eprintln!("ctrl_c handled!"),
[INFO] [stdout]    |                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> src/main.rs:28:37
[INFO] [stdout]    |
[INFO] [stdout] 28 |         wincon::CTRL_BREAK_EVENT => TRUE,    //eprintln!("ctrl_break handled!"),
[INFO] [stdout]    |                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> src/main.rs:29:37
[INFO] [stdout]    |
[INFO] [stdout] 29 |         wincon::CTRL_CLOSE_EVENT => TRUE,    //eprintln!("ctrl_close handled!"),
[INFO] [stdout]    |                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> src/main.rs:30:38
[INFO] [stdout]    |
[INFO] [stdout] 30 |         wincon::CTRL_LOGOFF_EVENT => TRUE,   //eprintln!("ctrl_logoff handled!"),
[INFO] [stdout]    |                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> src/main.rs:31:40
[INFO] [stdout]    |
[INFO] [stdout] 31 |         wincon::CTRL_SHUTDOWN_EVENT => TRUE, //eprintln!("ctrl_shutdown handled!"),
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/main.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout] 34 |             return FALSE;
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> src/main.rs:49:14
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let res: BOOL = unsafe { consoleapi::SetConsoleCtrlHandler(Some(routine_handler), TRUE) };
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> src/main.rs:49:87
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let res: BOOL = unsafe { consoleapi::SetConsoleCtrlHandler(Some(routine_handler), TRUE) };
[INFO] [stdout]    |                                                                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/main.rs:50:15
[INFO] [stdout]    |
[INFO] [stdout] 50 |     if res == FALSE {
[INFO] [stdout]    |               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SHELLEXECUTEINFOA` in this scope
[INFO] [stdout]    --> src/main.rs:121:29
[INFO] [stdout]     |
[INFO] [stdout] 96  | fn execute_elevated(program: &Path, args: &[String]) -> i32 {
[INFO] [stdout]     |                    - help: you might be missing a type parameter: `<SHELLEXECUTEINFOA>`
[INFO] [stdout] ...
[INFO] [stdout] 121 |     info.cbSize = size_of::<SHELLEXECUTEINFOA>() as DWORD;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/main.rs:121:53
[INFO] [stdout]     |
[INFO] [stdout] 121 |     info.cbSize = size_of::<SHELLEXECUTEINFOA>() as DWORD;
[INFO] [stdout]     |                                                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SEE_MASK_NOASYNC` in this scope
[INFO] [stdout]    --> src/main.rs:122:18
[INFO] [stdout]     |
[INFO] [stdout] 122 |     info.fMask = SEE_MASK_NOASYNC | SEE_MASK_NOCLOSEPROCESS;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SEE_MASK_NOCLOSEPROCESS` in this scope
[INFO] [stdout]    --> src/main.rs:122:37
[INFO] [stdout]     |
[INFO] [stdout] 122 |     info.fMask = SEE_MASK_NOASYNC | SEE_MASK_NOCLOSEPROCESS;
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SW_NORMAL` in this scope
[INFO] [stdout]    --> src/main.rs:126:18
[INFO] [stdout]     |
[INFO] [stdout] 126 |     info.nShow = SW_NORMAL;
[INFO] [stdout]     |                  ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitializeEx` in this scope
[INFO] [stdout]    --> src/main.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |         CoInitializeEx(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `COINIT_APARTMENTTHREADED` in this scope
[INFO] [stdout]    --> src/main.rs:130:13
[INFO] [stdout]     |
[INFO] [stdout] 130 |             COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `COINIT_DISABLE_OLE1DDE` in this scope
[INFO] [stdout]    --> src/main.rs:130:40
[INFO] [stdout]     |
[INFO] [stdout] 130 |             COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShellExecuteExA` in this scope
[INFO] [stdout]    --> src/main.rs:132:9
[INFO] [stdout]     |
[INFO] [stdout] 132 |         ShellExecuteExA(&mut info as *mut _)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/main.rs:134:15
[INFO] [stdout]     |
[INFO] [stdout] 134 |     if res == FALSE || info.hProcess == null_mut() {
[INFO] [stdout]     |               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/main.rs:137:19
[INFO] [stdout]     |
[INFO] [stdout] 137 |     let mut code: DWORD = 0;
[INFO] [stdout]     |                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in this scope
[INFO] [stdout]    --> src/main.rs:139:9
[INFO] [stdout]     |
[INFO] [stdout] 139 |         WaitForSingleObject(info.hProcess, INFINITE);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope
[INFO] [stdout]    --> src/main.rs:139:44
[INFO] [stdout]     |
[INFO] [stdout] 139 |         WaitForSingleObject(info.hProcess, INFINITE);
[INFO] [stdout]     |                                            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetExitCodeProcess` in this scope
[INFO] [stdout]    --> src/main.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout] 140 |         if GetExitCodeProcess(info.hProcess, &mut code as *mut _) == FALSE {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/main.rs:140:70
[INFO] [stdout]     |
[INFO] [stdout] 140 |         if GetExitCodeProcess(info.hProcess, &mut code as *mut _) == FALSE {
[INFO] [stdout]     |                                                                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 30 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rshim`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "d3216556818b868e530fcfad6d0bd3337bb67fe999b0fe97632a269c16e888c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3216556818b868e530fcfad6d0bd3337bb67fe999b0fe97632a269c16e888c5", kill_on_drop: false }`
[INFO] [stdout] d3216556818b868e530fcfad6d0bd3337bb67fe999b0fe97632a269c16e888c5
